package p270jp.pxv.android.viewholder;

import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
import p045be.PpointGainHistoryAdapter;
import p216hn.DefaultConstructorMarker;
import p270jp.pxv.android.R;
import p314lg.ViewHolderPpointGainHistoryItemBinding;
import p325m0.MutabilityOwnership;
import p652yj.C7346b;

/* compiled from: PpointGainHistoryViewHolder.kt */
/* renamed from: jp.pxv.android.viewholder.PpointGainHistoryViewHolder */
/* loaded from: classes2.dex */
public final class PpointGainHistoryViewHolder extends RecyclerView.AbstractC0819y {
    private final ViewHolderPpointGainHistoryItemBinding binding;
    public static final Companion Companion = new Companion(null);
    public static final int $stable = 8;

    /* compiled from: PpointGainHistoryViewHolder.kt */
    /* renamed from: jp.pxv.android.viewholder.PpointGainHistoryViewHolder$Companion */
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker eVar) {
            this();
        }

        public final PpointGainHistoryViewHolder createViewHolder(ViewGroup viewGroup) {
            ViewHolderPpointGainHistoryItemBinding c8Var = (ViewHolderPpointGainHistoryItemBinding) C7346b.m327a(viewGroup, "parent", R.layout.view_holder_ppoint_gain_history_item, viewGroup, false);
            MutabilityOwnership.m3746l(c8Var, "binding");
            return new PpointGainHistoryViewHolder(c8Var, null);
        }
    }

    private PpointGainHistoryViewHolder(ViewHolderPpointGainHistoryItemBinding c8Var) {
        super(c8Var.f2666e);
        this.binding = c8Var;
    }

    public /* synthetic */ PpointGainHistoryViewHolder(ViewHolderPpointGainHistoryItemBinding c8Var, DefaultConstructorMarker eVar) {
        this(c8Var);
    }

    public final void bind(PpointGainHistoryAdapter.C1111a aVar) {
        MutabilityOwnership.m3745m(aVar, "point");
        this.binding.f21402q.setText(aVar.f4900a);
        this.binding.f21403r.setText(aVar.f4902c);
        this.binding.f21404s.setText(aVar.f4901b);
        this.binding.f21405t.setText(aVar.f4903d);
    }
}
